#ifndef USERSERVICE_H
#define USERSERVICE_H

#include "TcpService.h"

class UserService {
public:
	int getConnection();
	int sendApp(const char *path, const char *name);
	int sendInput(const char *path, const char *name);
	int sendSched(const char *path, const char *name);
	int sendPara(const double CGRatio, const int minNodes);
	int recvResults(char **buf);
private:
	int sendData(const char *path, const char *name);
	TcpService conn;
};

#endif
